/**
 * Created by kk580 on 2017/8/21.
 */
var phantomjs = require('phantomjs-prebuilt')
var program = phantomjs.exec('loadspeed2.js', 'https://mp.weixin.qq.com/s/baTjCDjiTg0-opXmpRni9Q')
program.stdout.pipe(process.stdout)
program.stderr.pipe(process.stderr)
program.on('exit', (code) => {
    console.log(`Child exited with code ${code}`);
})
;